package guet.imagan.app;

import java.util.Properties;
import java.util.Set;

/**
 * 学习获取系统属性
 */
public class LearnSysProperty {
	public static void main(String[] args){
		System.out.println("获取系统属性");
		Properties props=System.getProperties();
		Set<String> keys=props.stringPropertyNames();
		keys.forEach(keyName ->System.out.println(keyName+"--->"+props.getProperty(keyName)));

	}
}
